REM Start qemu on windows.
@ECHO OFF

REM SDL_VIDEODRIVER=directx is faster than windib. But keyboard cannot work well.
SET SDL_VIDEODRIVER=windib

REM SDL_AUDIODRIVER=waveout or dsound can be used. Only if QEMU_AUDIO_DRV=sdl.
SET SDL_AUDIODRIVER=waveout

REM QEMU_AUDIO_DRV=dsound or fmod or sdl or none can be used. See qemu -audio-help.
SET QEMU_AUDIO_DRV=sdl

REM QEMU_AUDIO_LOG_TO_MONITOR=1 displays log messages in QEMU monitor.
SET QEMU_AUDIO_LOG_TO_MONITOR=0

REM search through devices
FOR %%x IN (d e f g h i j k l m n o p q r s t u v w x y z) DO %%x:\qemu-0.8.1\qemu.exe -L %%x:\qemu-0.8.1 -usb -m 256 -no-kqemu -std-vga -M pc -soundhw sb16,es1370 -localtime -cdrom //./%%x:
